Fix passing --features when testing multiple packages
authorAlex Crichton <alex@alexcrichton.com>
Thu, 10 Nov 2016 23:44:39 +0000 (15:44 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 11 Nov 2016 00:12:29 +0000 (16:12 -0800)
commitd21cb9a86a38a9d935b99c6f03c6fd116760a07e
treef3048998bcb545ed20bd6e62f00286994c212043
parentbe0873ccf3f99a4458a1b7de646b2dcee1506453
Fix passing --features when testing multiple packages

The wrong method was being passed to resolution accidentally. Features specified
via `--features` and `--no-default-features` are spec'd as only applying to the
*current* package, not all packages.

Closes #3279
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_output_metadata.rs
src/cargo/ops/resolve.rs
tests/test.rs